package com.dexstudio.http.constants;

public class P24Urls {
	private static final String BASE_URL = "https://privat24.privatbank.ua";
	private static final String P24_PATH = "/p24";
	private static final String ACCOUNT_ORDER = "/accountorder?";
	private static final String EQ = "=";
	private static final String OPER = "oper";
	private static final String PRP = "prp";
	private static final String AMP = "&";
	private static final String EXCHANGE = "exchange";
	private static final String PUREXML = "PUREXML";
	private static final String COURSE_ID = "courseid";
	
	public static String prepareCurrencyLink(int courseId) {
		return BASE_URL + P24_PATH + ACCOUNT_ORDER + OPER + EQ + PRP + AMP + 
				EXCHANGE + AMP + PUREXML + AMP + COURSE_ID + EQ + courseId;
	}
}
